package com.qgz.googleapp.service;

import java.util.List;

import com.google.inject.ImplementedBy;
import com.qgz.googleapp.entity.User;
import com.qgz.googleapp.service.imp.UserServiceImp;

@ImplementedBy(UserServiceImp.class)
public interface UserService {
	
	public boolean isRegistUser(String email,String password);
	
	public boolean isEmailExist(String email);
	
	public boolean regist(String email,String password);
	
	public boolean login(String email,String password);
	
	public boolean logout(User user);
	
	public List<User> getAllUser();
	
	public User delUser(User user);
	
	public User editUser(User user);
	
	public void AddNewUser(String email, String password);

	public User getUser(String email);
	
	public User delUser(String email);
	
	
}
